﻿using BasicInformation.Domain;
using Microsoft.EntityFrameworkCore;

namespace BasicInformation.Infrastructure
{
    public class MyDbContext:DbContext
    {
        public MyDbContext(DbContextOptions<MyDbContext> options) : base(options)
        {

        }
        /// <summary>
        /// 线路
        /// </summary>
        public DbSet<Line> Line { get; set; }
        /// <summary>
        /// 车辆信息
        /// </summary>
        public DbSet<Vehicle> Vehicle { get; set; }
        /// <summary>
        /// 货主信息
        /// </summary>
        public DbSet<Owner> Owner { get; set; }
        /// <summary>
        /// 外协单位
        /// </summary>
        public DbSet<Outsourcing> Outsourcing { get; set; }
        /// <summary>
        /// 油费管理
        /// </summary>
        public DbSet<FuelCosts> FuelCosts { get; set; }
    }
}
